<?php

namespace App\Controller\Wap;

use App\Entity\Orders;
use App\Model\BannersModel;
use App\Model\MoneyExModel;
use App\Model\OrdersModel;
use App\Model\ShopGoodsModel;
use App\Model\UserLikesProductModel;
use App\Setting\BannersSetting;
use App\Base\BaseConfig;
use App\Base\BaseController4User;
use App\Model\LazyCommon\CCM;
use App\Model\LazyCommon\PlatConfigModel;
use Model\UserBundle\Entity\User;
use App\Model\LazyCommon\UserLoginLogModel;
use App\Model\LazyCommon\UserModel;
use App\Model\LazyCommon\UserInviteExModel;
use App\Model\LazyCommon\WechatModel;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Symfony\Component\HttpFoundation\Request;


/**
 * @route("/wap")
 */
class UserLevelUpController extends BaseController4User
{

    /**
     * @route("/level/up",name="UserAppUserLevelUp")
     */
    public function UserAppUserLevelUp(Request $request)
    {
        $Model = new PlatConfigModel($this->getDoctrine());
        $Entity = $Model->get(4);
        $qrcode = $Entity->getPic();
        $this->data["qrcode"] = $qrcode;
        return $this->render("App/Wap/user_level_up.php.twig",$this->data);
    }
}
